
/**
 * @description sequelize 同步数据库
 * @author 追追
 */

const seq = require('./seq');

// require("./model");

seq.authenticate()
    .then(() => {
        console.log('auth ok');
    })
    .catch(() => {
        console.log('auth err');
    });

seq.sync().then(() => {
    console.log('sync ok');
    process.exit();
});
